projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eafff40
)
quartz: do not call gdk_drag_begin() twice
author
Kristian Rietveld
<kris@loopnest.org>
Sun, 20 Nov 2011 17:24:56 +0000
(18:24 +0100)
committer
Kristian Rietveld
<kris@loopnest.org>
Sun, 20 Nov 2011 19:15:27 +0000
(20:15 +0100)
This makes drag and drop work again on Quartz.
gtk/gtkdnd-quartz.c
patch
|
blob
|
history
diff --git
a/gtk/gtkdnd-quartz.c
b/gtk/gtkdnd-quartz.c
index 90506c1b9ee657a829ab0bb3643e629f6c985a98..96af88f0080116d55c5132571dae3d2e0fc38131 100644
(file)
--- a/
gtk/gtkdnd-quartz.c
+++ b/
gtk/gtkdnd-quartz.c
@@
-1124,8
+1124,7
@@
gtk_drag_begin_internal (GtkWidget *widget,
GtkDragSourceInfo *info;
GdkDevice *pointer;
GdkWindow *window;
- GdkDragContext *context = gdk_drag_begin (gtk_widget_get_window (widget),
- NULL);
+ GdkDragContext *context;
NSWindow *nswindow = get_toplevel_nswindow (widget);
NSPoint point = {0, 0};
gdouble x, y;